package com.example.demo.admin.gecco.entity;/**
 * Created by kete on 2017-11-07.
 */

import com.geccocrawler.gecco.annotation.Attr;
import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HtmlBean;

/**
 * 作者：kete
 * 创建时间：2017-11-07 15:47
 * 功能描述：
 * 版本：
 */
public class XichiIpProxyInfo implements HtmlBean {

    @Text
    @HtmlField(cssPath = "td:eq(1)")
    private String proxyIp;

    @Text
    @HtmlField(cssPath = "td:eq(2)")
    private String proxyPort;

    @Text
    @HtmlField(cssPath = "td:eq(5)")
    private String type;

    @Text
    @HtmlField(cssPath = "td:eq(3) a")
    private String adress;

    @Attr(value = "title")
    @HtmlField(cssPath = "td:eq(8) div:eq(0) ")
    private String responseSpeed;

    @Text
    @HtmlField(cssPath = "td:eq(9)")
    private String verifyTime;

    public String getProxyIp() {
        return proxyIp;
    }

    public void setProxyIp(String proxyIp) {
        this.proxyIp = proxyIp;
    }

    public String getProxyPort() {
        return proxyPort;
    }

    public void setProxyPort(String proxyPort) {
        this.proxyPort = proxyPort;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAdress() {
        return adress;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }

    public String getResponseSpeed() {
        return responseSpeed;
    }

    public void setResponseSpeed(String responseSpeed) {
        this.responseSpeed = responseSpeed;
    }

    public String getVerifyTime() {
        return verifyTime;
    }

    public void setVerifyTime(String verifyTime) {
        this.verifyTime = verifyTime;
    }

    @Override
    public String toString() {
        return "IpProxyInfo{" +
                "proxyIp='" + proxyIp + '\'' +
                ", proxyPort='" + proxyPort + '\'' +
                ", type='" + type + '\'' +
                ", adress='" + adress + '\'' +
                ", responseSpeed='" + responseSpeed + '\'' +
                ", verifyTime='" + verifyTime + '\'' +
                '}';
    }
}
